home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / sci_calc / chmcalc3.zip / README.TXT < prev    next >
Text File  |  1996-01-05  |  6KB  |  153 lines

  1. Integrated Graphics
  2. 312 Nevada St.
  3. Northfield, MN 55057
  4.  
  5. E-mail: hansonr@stolaf.edu
  6.  
  7. chmcalc3.zip    Chemists' all-purpose calculator-MW,%,Ka,more
  8.  
  9. ABSTRACT
  10. --------
  11. CHEMCALC.EXE, Chemistry Calculator for Windows incorporates
  12. the type of calculations used by chemists--especially at the 
  13. introductory level--into a simple Windows-based calculator. In
  14. particular, the MW() and %() functions complement LOG() LN() and 
  15. EXP(). Constants for Ka, Kb, and Ksp are included. Calculations
  16. such as x^2/(1-x)=0.01 are easily carried out; more constants can 
  17. be added by editing CHEMCALC.INI, a simple ASCII file. All results
  18. are stored both on a scrolling list for later recall and on the
  19. clipboard for interaction with WordPerfect or Microsoft Word. 
  20. CHEMCALC.EXE is an updated version of WMFCALC.EXE.
  21.  
  22. INSTALLATION
  23. ------------
  24. CHMCALC3.ZIP can be unzipped using PKUNZIP, PKUNZJR, or WINZIP. 
  25. If you do not have one of these programs, you can probably find
  26. one on the site from which you got CHMCALC3.ZIP or from 
  27. ftp.stolaf.edu/pub/origami/WIN. In addition, you will need 
  28. VBRUN300.DLL, as this program was produced using Microsoft Visual 
  29. Basic 3.0 for Windows.
  30.  
  31. 1. Create a new temporary directory or choose one already on 
  32.    your hard disk.
  33.  
  34. 2. Move CHMCALC3.zip to this directory and unzip it there.
  35.  
  36. 3. From the Windows file manager Run...   thatdirectory\setup
  37.  
  38.    You will be asked to enter a directory into which to install 
  39.    CHEMCALC.EXE (default is C:\CHEMCALC). Installation should 
  40.    complete in a few seconds.  
  41.  
  42. 4. Files in the temporary directory may be deleted.  
  43.  
  44. RUNNING THE PROGRAM
  45. -------------------
  46.  
  47. Enter calculations into the calculator by typing. Examples and 
  48. constants are available from dropdown menus. Click on an example to
  49. see its calculation; click on a constant to insert it into a calculation.
  50.  
  51. Included functions:
  52.  
  53.   EXP(), LN(), LOG(), SQRT(), ! (factorial)
  54.   MW() (molecular weight), and % (percent composition)
  55.   
  56. General features  
  57.  
  58.   do not include charges on ions: MW(SO4)
  59.   period (.) used for indicating hydration: CoCl6.2H2O 
  60.   leading numbers are ok: 3CO2
  61.   also + means chemical equation-like plus: 5H2O + 5CO2 
  62.   the "MW(" and ")" can be omitted if not part of a larger calculation
  63.   brackets are OK and function just like parentheses: Co[C2H2H8]3
  64.   "x" and "=" in a formula is a request to do a simplex calculation: 
  65.     x^2/(0.1-x)=0.001
  66.   "x" may be used then as a variable in later calculations
  67.   multiplication can be implied: (1-3x) or 3 MW(H2O) 
  68.   spaces are irrelevant
  69.   use standard calculator notation for scientific notation: 
  70.     1e-5 is 0.00001
  71.   #n means "set display precision to 'n' (0-9) significant digits
  72.     for example   #3
  73.   #0 resets sets the display to full (15-digit) precision
  74.   xyz...  #5   means set precision to 5 sig. digits for THIS CALC ONLY
  75.  
  76. The calculation ends up in the clipboard. In addition, if a commandline
  77. argument is given from a shell command or from the Program Manager 
  78. File Run... command, such as   
  79.  
  80.      chemcalc x^2/(.1-x)=0.0014 #3
  81.    
  82. then CHEMCALC loads the clipboard with the result and exits. 
  83. Thus, the slick way to use CHEMCALC is to integrate it into your word 
  84. processor using a macro that shells to CHEMCALC. 
  85. For WordPerfect, the macro is:
  86.  
  87.      Application (A1; "WordPerfect"; Default; "US")
  88.      CR = NtoC(0F90Ah)
  89.      if (?selectedtext="") SelectWord endif
  90.      prompt("CHEMCALC calculation in progress: "+CR+CR+
  91.        ?selectedtext+CR+CR+"   press CTRL-V to retrieve when done")
  92.      appexecute("c:\chemcalc\chemcalc "+?selectedtext)
  93.      endprompt
  94.  
  95. Assigning this macro to ALT-C using Edit Preferences Keyboard...
  96. allows you to type any formula in WordPerfect that you could 
  97. type in CHEMCALC and almost instantly have the result 
  98. right in your document when you press CTRL-V (paste).
  99.  
  100.   for example:    2/<pi> #3             (2/pi to 3 significant digits)
  101.  
  102. CUSTOMIZING EXAMPLES AND CONSTANTS
  103. ----------------------------------
  104.  
  105. All examples and constants available in the program are based on data stored
  106. in CHEMCALC.INI. This easily readable ASCII file allows you to modify or
  107. add constants that you find useful in your own work. The format is simple
  108. and described in CHEMCALC.INI. Basically, there are two sections, [Examples]
  109. and [Constants]. These two sections define a set of submenu entries. For
  110. example, under the menu item 'Constants' there is a submenu 'Ka' because
  111. in the INI file there is an entry 'Ka' in section [Constants]. 
  112. A later section of the INI file is introduced as [Constants-Ka] and under
  113. that heading are many actual acid dissociation constants. The entry
  114.   
  115.   [Constants-Ka]
  116.   Acetic=HC2H3O2=1.8E-5
  117.  
  118. Translates into the listbox entry  
  119.  
  120.   Ka HC2H3O2 (Acetic)
  121.  
  122. when you select Constants Ka from within CHEMCALC.
  123. Note that you can either click on a constant or use it's reference in "<>"
  124. such as <pi> or <Ka HC2H3O2>   Case is not critical in these references.
  125.  
  126. I have installed several constants, but there is plenty of room for more.
  127. If you take this on a project, please send a copy to me by EMail and I will
  128. incorporate your data in the next version of CHEMCALC.EXE.
  129.  
  130. HARDWARE REQUIREMENTS
  131. ---------------------
  132. Any computer running Windows 3.1 should be adequate. 
  133. CHEMCALC has not been fully tested under Windows 95.
  134.  
  135. REGISTRATION AND LICENSING
  136. --------------------------
  137. Chemistry Calculator is FREEWARE. It is fully distributable.
  138.  
  139. FEEDBACK
  140. --------
  141.  
  142. Your feedback is greatly appreciated. If there is ANYTHING that you don't
  143. like or anything that you would like to see, please E-mail it to me. I can
  144. install a newer test version on ftp.stolaf.edu/pub/origami/WIN usually 
  145. within a day.
  146.  
  147. Have fun! 
  148.  
  149. Bob Hanson
  150. hansonr@stolaf.edu
  151.  
  152.  
  153.